home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / rdisc.z / rdisc
Encoding:
Text File  |  1998-10-20  |  6.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. RRRRDDDDIIIISSSSCCCC((((1111MMMM))))                                                            RRRRDDDDIIIISSSSCCCC((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rdisc - Internet router discovery daemon
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////eeeettttcccc////rrrrddddiiiisssscccc [ ----ssssffffaaaa ]
  13.  
  14.      ////uuuussssrrrr////eeeettttcccc////rrrrddddiiiisssscccc ----rrrr [ ----pppp _p_r_e_f_e_r_e_n_c_e ] [ ----TTTT _i_n_t_e_r_v_a_l ]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _rrrr_dddd_iiii_ssss_cccc implements the ICMP router discover protocol.  The first form of
  18.      the command is used on hosts and the second form is used on routers.  On
  19.      a host _rrrr_dddd_iiii_ssss_cccc is invoked at boot time to populate the network routing
  20.      tables with default routes. On a router it is also invoked at boot time
  21.      in order to start advertising the router to all the hosts.
  22.  
  23.    HHHHoooosssstttt ((((FFFFiiiirrrrsssstttt FFFFoooorrrrmmmm))))
  24.      On a host _rrrr_dddd_iiii_ssss_cccc listens on the _AAAA_LLLL_LLLL______HHHH_OOOO_SSSS_TTTT_SSSS (224.0.0.1) multicast address
  25.      for _RRRR_OOOO_UUUU_TTTT_EEEE_RRRR______AAAA_DDDD_VVVV_EEEE_RRRR_TTTT_IIII_SSSS_EEEE messages from routers. The received messages are
  26.      handled by first ignoring those listed router addresses with which the
  27.      host does not share a network.  Among the remaining addresses the ones
  28.      with the highest preference are selected as default routers and a default
  29.      route is entered in the kernel routing table for each one of them.
  30.  
  31.      Optionally, _rrrr_dddd_iiii_ssss_cccc can avoid waiting for routers to announce themselves by
  32.      sending out a few _RRRR_OOOO_UUUU_TTTT_EEEE_RRRR______SSSS_OOOO_LLLL_IIII_CCCC_IIII_TTTT_AAAA_TTTT_IIII_OOOO_NNNN messages to the _AAAA_LLLL_LLLL______RRRR_OOOO_UUUU_TTTT_EEEE_RRRR_SSSS
  33.      (224.0.0.2) multicast address when it is started.
  34.  
  35.      A timer is associated with each router address and the address will no
  36.      longer be considered for inclusion in the routing tables if the timer
  37.      expires before a new _a_d_v_e_r_t_i_s_e message is received from the router.  The
  38.      address will also be excluded from consideration if the host receives an
  39.      _a_d_v_e_r_t_i_s_e message with the preference being maximally negative.
  40.  
  41.    RRRRoooouuuutttteeeerrrr ((((SSSSeeeeccccoooonnnndddd FFFFoooorrrrmmmm))))
  42.      When _rrrr_dddd_iiii_ssss_cccc is started on a router, it uses the _SSSS_IIII_OOOO_CCCC_GGGG_IIII_FFFF_CCCC_OOOO_NNNN_FFFF iiiiooooccccttttllll(2) to
  43.      find the interfaces configured into the system and it starts listening on
  44.      the _AAAA_LLLL_LLLL______RRRR_OOOO_UUUU_TTTT_EEEE_RRRR_SSSS multicast address on all the interfaces that support
  45.      multicast.  It sends out _a_d_v_e_r_t_i_s_e messages to the _AAAA_LLLL_LLLL______HHHH_OOOO_SSSS_TTTT_SSSS multicast
  46.      address advertising all its addresses.  A few initial _a_d_v_e_r_t_i_s_e messages
  47.      are sent out during the first 30 seconds and after that it will transmit
  48.      _a_d_v_e_r_t_i_s_e messages approximately every 600 seconds.
  49.  
  50.      When _rrrr_dddd_iiii_ssss_cccc receives a _s_o_l_i_c_i_t_a_t_i_o_n message it sends an _a_d_v_e_r_t_i_s_e message
  51.      to the host that sent the _s_o_l_i_c_i_t_a_t_i_o_n message.
  52.  
  53.      When rrrrddddiiiisssscccc is terminated by a signal it sends out an _a_d_v_e_r_t_i_s_e message
  54.      with the preference being maximally negative.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RRRRDDDDIIIISSSSCCCC((((1111MMMM))))                                                            RRRRDDDDIIIISSSSCCCC((((1111MMMM))))
  71.  
  72.  
  73.  
  74. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  75.      ----aaaa             Accept all routers independently of the preference they
  76.                     have in their _a_d_v_e_r_t_i_s_e messages.  Normally rrrrddddiiiisssscccc only
  77.                     accepts (and enters in the kernel routing tables) the
  78.                     router or routers with the highest preference.
  79.  
  80.      ----ffff             Run rrrrddddiiiisssscccc forever even if no routers are found.  Normally
  81.                     rrrrddddiiiisssscccc gives up if it has not received any _a_d_v_e_r_t_i_s_e
  82.                     message after soliciting three times, in which case it
  83.                     exits with a non-zero exit code.  If ----ffff is not specified
  84.                     in the first form then ----ssss must be specified.
  85.  
  86.      ----pppp _p_r_e_f_e_r_e_n_c_e  Set the preference transmitted in the _s_o_l_i_c_i_t_a_t_i_o_n
  87.                     messages.  The default is zero.
  88.  
  89.      ----rrrr             Act as a router as opposed to a host.
  90.  
  91.      ----ssss             Send three _s_o_l_i_c_i_t_a_t_i_o_n messages initially to quickly
  92.                     discover the routers when the system is booted.  When ----ssss
  93.                     is specified rrrrddddiiiisssscccc exits with a non-zero exit code if it
  94.                     can not find any routers.  This can be overridden with the
  95.                     ----ffff option.
  96.  
  97.      ----TTTT _i_n_t_e_r_v_a_l    Set the interval between transmitting the _a_d_v_e_r_t_i_s_e
  98.                     messages.  The default time is 600 seconds.
  99.  
  100. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  101.      rrrroooouuuutttteeeedddd(1M) iiiiooooccccttttllll(2), iiiiccccmmmmpppp(7), iiiinnnneeeetttt(7)
  102.  
  103.      Deering, S.E.,ed ``_I_C_M_P _R_o_u_t_e_r _D_i_s_c_o_v_e_r_y _M_e_s_s_a_g_e_s,'' RFC 1256, Network
  104.      Information Center, SRI International, Menlo Park, Calif., September
  105.      1991.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.